package code.xiaohh.cloudalibaba.order;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * <p>
 * 订单模块启动类
 * </p>
 *
 * @author XiaoHH
 * @version 1.0
 * @date 2021-04-10 星期六 15:42:13
 * @file OrderApplication.java
 */
@EnableDiscoveryClient // 启用注册中心
@EnableFeignClients(basePackages = "code.xiaohh.cloudalibaba.common.feigns") // 启用远程调用
@SpringBootApplication
public class OrderApplication {

    public static void main(String[] args) {
        // 启动订单模块
        SpringApplication.run(OrderApplication.class, args);
        System.out.println("^V^ 订单模块启动成功 ^V^\n" +
                "/-\\ /-\\ /-\\ /-\\ /-\\ /-\\\n" +
                " X   i   a   o   H   H\n" +
                "\\-/ \\-/ \\-/ \\-/ \\-/ \\-/");
    }

}